//
//  LJM_SONG_Sub_CollectionViewCell.m
//  wind
//
//  Created by 李金明 on 16/1/18.
//  Copyright © 2016年 李金明. All rights reserved.
//

#import "LJM_SONG_Sub_CollectionViewCell.h"

@implementation LJM_SONG_Sub_CollectionViewCell
- (void)dealloc
{
    [_titleLab release];
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatView];
    }
    return self;
}
- (void)creatView
{
    self.backgroundColor = [UIColor colorWithRed:243 / 255.0 green:243 / 255.0 blue:244 / 255.0 alpha:1.0];
    self.titleLab = [[UILabel alloc] init];
    self.titleLab.backgroundColor = [UIColor clearColor];
    self.titleLab.textColor = [UIColor grayColor];
    self.titleLab.font = [UIFont systemFontOfSize:17];
    self.titleLab.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:self.titleLab];
    [_titleLab release];
}
- (void)layoutSubviews
{
[self.titleLab mas_makeConstraints:^(MASConstraintMaker *make) {
    make.top.right.left.bottom.equalTo(self);
}];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
